package com.eco.fanliapp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.eco.fanliapp.dao.JdUserOrderMapper;
import com.eco.fanliapp.entity.JdUserOrder;
import com.eco.fanliapp.service.IJdUserOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 京东用户订单中间表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-03-18
 */
@Service
public class JdUserOrderServiceImpl extends ServiceImpl<JdUserOrderMapper, JdUserOrder> implements IJdUserOrderService {
@Autowired
private JdUserOrderMapper jdUserOrderMapper;
	@Override
	public JdUserOrder selectByOrderSnAndSkuId(Long orderId, Long skuId) {
		return jdUserOrderMapper.selectByOrderSnAndSkuId(orderId,skuId);
	}

	@Override
	public List<JdUserOrder> selectJdLargeAmountYesList(Long stime, Long etime) {
		return jdUserOrderMapper.selectJdLargeAmountYesList(stime,etime);
	}
}
